Total Complexity | 26 |
Dependencies | 6 |
Dependents | 0 |
Total lines | 142 |
Lines of code | 79 |
Logical lines of code | 46 |
Comment lines | 48 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add() | 46 | 9 | 36 | |
validate_item_qty() | 61 | 5 | 12 | |
validate_cart_request() | 76 | 5 | 3 | |
remove() | 58 | 3 | 14 | |
get_cart_instance() | 65 | 3 | 8 | |
__construct() | 70 | 1 | 6 |